package com.rmb.service.impl;

import com.rmb.mapper.CompanyMapper;
import com.rmb.mart.entity.api.MartApiCompany;
import com.rmb.service.CompanyService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @ClassName CompanyServiceImpl
 * @Description TODO
 * @Author lvshook
 * @Date 2021/1/21 14:37
 * @Version 1.0
 **/
@Service
public class CompanyServiceImpl implements CompanyService {

    @Autowired(required = false)
    private CompanyMapper companyMapper;

    /**
     * 查询接口方法
     * @param id
     * @return
     */
    @Override
    public List queryById(Long id) {
        return companyMapper.findone(id);
    }
}
